<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:replace="fragment/header::head"></div>
<body>
<div th:replace="fragment/sidebar::side"></div>
<!-- partial -->


<div class="card-body">
    <form class="forms-sample" th:action="@{/customerService/updateVerify}" method="post">
        <div class="form-group">
            <label for="exampleInputEmail1">邮箱地址</label>
            <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email" name="email" th:value="${session.cs.getEmail()}">
        </div>
        <div class="form-group">
            <label for="exampleInputName1">客服昵称</label>
            <input type="text" class="form-control" id="exampleInputName1" placeholder="Name" name="nickname" th:value="${session.cs.getNickname()}">
        </div>
        <div class="form-group">
            <label for="exampleInputName2">真实姓名</label>
            <input type="text" class="form-control" id="exampleInputName2" placeholder="Name" name="realname" th:value="${session.cs.getRealname()}">
        </div>
        <div class="form-group">
            <label for="exampleInputName3">客服工号</label>
            <input type="text" class="form-control" id="exampleInputName3" placeholder="Name" name="customerserviceid" th:value="${session.cs.getCustomerserviceid()}">
        </div>
        <div class="form-group">
        <label for="exampleInputName4">客服手机号码</label>
        <input type="tel" class="form-control" id="exampleInputName4" placeholder="Name" name="customerservicephone" th:value="${session.cs.getCustomerservicephone()}">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">原密码</label>
            <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" th:value="${session.cs.getPassword()}" >
        </div>
        <div class="form-group">
            <label for="exampleInputPassword2">新密码</label>
            <input type="password" class="form-control" id="exampleInputPassword2" placeholder="Password"  name="password" >
        </div>

        <button type="submit" class="btn btn-success mr-2">确认</button>
        <button class="btn btn-light" th:href="@{/customerService/index(current=1,size=10)}">取消</button>
    </form>
</div>

<div th:replace="fragment/footer::foot"></div>

</body>
</html>